It took 1,603 pages of legalese to keep the U.S. government running for another year. That is the length of the 2015 Fiscal Year Omnibus Appropriations Bill, which was approved by the Senate on Saturday to appropriate $1.01 trillion dollars for most federal agencies and departments through September 2015. The bill is on Pres. Obama’s desk waiting for his signature.

It is not all about dollars. Congress also loaded the bill with special instructions, called policy riders, which dictate how government funds must be spent. Because the bill was rushed through just before the government ran out of money, and Congressional leaders did not want another government shutdown if the bill did not pass, lawmakers seized the opportunity to tack on controversial riders that might otherwise have been debated.

A lot of those 11th-hour mandates will affect science and environmental policy. The U.S. Environmental Protection Agency, for example, got $8.1 billion. That’s $60 million less than last year and the agency now has to operate at its smallest budget since 1989. But even that money comes with conditions. Although agriculture is a major source of atmospheric methane, Congress forbade the EPA from using its funds to require farmers to report greenhouse gas emissions from “manure management systems.” And the agency is no longer permitted to regulate farm ponds and irrigation ditches under the Clean Water Act.

Here are a few of the key riders and their effects in different areas:

By the numbers alone, the budget bill maintained many agencies at status quo. The NIH kept its current budget and received increases in funds for Alzheimer’s and Ebola research. Funding for defense research went up, with the Defense Advanced Research Projects Agency receiving a 3.4 percent increase, plus additional funds for fighting Ebola. And space science clearly won the day, with NASA receiving $500 million more than it initially requested.