In the obligation of discretionary funds or funds which are not allocated among the States or political subdivisions of a State, the Secretary of Housing and Urban Development and the Secretary of Commerce shall give priority to applications for projects for major disaster areas.