The bill is in response to a recent directive requiring federal agencies to propose moving some of their bureaus and offices to more affordable areas of the country.