The military would get an additional $15 billion in its overseas war account under a budget agreement released by Congress early Monday.

More than half of the increase — $9 billion — is tagged for getting forces better trained and prepared to fight while $2.5 billion is for wartime needs such as munitions and spare parts that directly support deployed troops. Another $1.4 billion would go to modify existing aircraft, ships, submarines and vehicles, according to a Senate summary.

The funding is tucked inside a massive $1-trillion-plus spending package to keep the federal government funding through September. Now that the agreement has been released, lawmakers must vote to approve the bill before current funding legislation expires on Friday.

"The additional defense funding will accelerate the campaign to defeat ISIS and support ongoing operations in Afghanistan and address critical budget shortfalls in personnel, operation and maintenance, procurement, and modernization programs," the Senate Appropriations Committee wrote in its summary.

The increased war funding would also put $359 million into replacing some aircraft needed by downrange troops, including an MV-22 Osprey for the Marine Corps, and Apache helicopters and an MQ-1 Grey Eagle drone for the Army.

The bill would provide a total of $593 billion for defense, which is $19.9 billion more than the level enacted for fiscal 2016. Of that total, $526.1 billion is for baseline funding and $76.6 billion for overseas contingency operations.

For equipment, the bill pays for $123.3 billion in equipment. According to a House fact sheet, that includes: