Pay more, offer more flexible hours or perks. HR managers are some of the most lazy people in the various organizations where I have worked, excepting my present position. They see most humans as disposable tools relatively easy to replace. They are among the last people to report for work in the day and among the first to leave. They set up software to screen out applicants who don't have certain (secret) key words in their resumes.
It is nice to see their culture changing.