The Congress, through its appropriations subcommittees, has proven quite adept at creating and granting the kind of flexibility it sees as appropriate to any given agency.
Congress is able to grant flexibility to agencies if it wants to.