Updated

Congress passed a vital NASA authorization bill late Wednesday, paving the way for an extra space shuttle flight next year and a new human spaceflight plan that takes aim at missions to an asteroid -- and ultimately even to Mars.

The NASA authorization bill approved by the House includes a $19 billion budget in 2011 for the U.S. space agency, and a total of $58 billion through 2013. It paves the way for several NASA projects, among them a new heavy-lift rocket for deep space missions and funding to aid the development of commercial space vehicles for eventual NASA use.

The bill was originally approved by the Senate on Aug. 5. The House opted to vote on the Senate's NASA authorization bill after running out of time on a compromise version proposed by Congressman Bart Gordon (R-Tennessee) last week. The fiscal year ends Thursday (Sept. 30).

The House officially voted in favor of the bill at about 11:37 p.m. EDT (0337 GMT). The 304-118 decision came just before Congress heads into recess until after the Nov. 2 elections.

President Obama's new space plan, announced in February, cancelled NASA's moon-oriented Constellation program set forth by former President George W. Bush and called for more ambitious deep space missions to an asteroid and Mars. The Constellation program was responsible for the Orion space capsules and Ares rockets set to follow the shuttle program.

"Passage of this bill represents an important step forward towards helping us achieve the key goals set by the President," NASA chief Charles Bolden said in a statement in response to House vote. "This important change in direction will not only help us chart a new path in space, but can help us retool for the industries and jobs of the future that will be vital for long term economic growth."

Extra shuttle flight, commercial space funds

The NASA authorization bill, S. 3729, officially clears NASA to add one extra space shuttle flight to the two final missions already planned before the shuttle fleet is retired in 2011.

It also allows NASA to extend its role in the International Space Station through at least 2020 and sets aside $1.3 billion over three years to support the development of commercial spacecraft, less than half of the $3.3 billion the White House has requested.

Obama's space plan tasks NASA to draw on commercial space vehicles to ferry astronauts to and from the International Space Station. Until those commercial vehicles are available, the U.S. would rely on Russian Soyuz craft to fly humans in space and unmanned Russian, Japanese and European freighters to launch cargo.

NASA officials have said the extra shuttle flight would likely fly sometime around June 2011 aboard the Atlantis orbiter. It will deliver large spare parts and cargo to the space station. The space agency chose a veteran four-man crew for this final space shuttle flight earlier this month.

But the extra space mission would not affect the coming Oct. 1 layoffs of nearly 1,400 shuttle workers by NASA contractor United Space Alliance – a joint venture by Boeing and Lockheed Martin that oversees NASA's shuttle fleet. USA announced the shuttle worker layoffs in July as part of a workforce reduction plan due to the space shuttle fleet's impending retirement.

The layoffs, which affect workers in Florida, Alabama and Texas, will take effect Friday. USA spokeswoman Kari Fluegel told SPACE.com in July that the layoffs would occur despite the addition by Congress of an extra shuttle flight to NASA's schedule. However, the extra mission could affect plans for any future layoffs, she added.

NASA and its contractors are currently preparing the shuttle Discovery to launch Nov. 1 to deliver a new storage room and humanoid robot prototype to the station. The shuttle Endeavour is slated to fly Feb, 26, 2011 to deliver a nearly $2 billion astrophysics experiment – called the Alpha Magnetic Spectrometer – to the space station. After that flight, the $100 billion station will be complete after more than 12 years of construction.

Big new rocket

Obama's space plan also calls for astronauts to visit an asteroid by 2025 and then aim for a manned Mars mission in the 2030s. A heavy-lift rocket for those missions was slated to begin development in 2015.

Under the spending bill approved Wednesday, NASA would be directed to begin work on that heavy-lift rocket in 2011 – four years earlier than the White House proposal.

Congressman Pete Olson (R-Texas) said such a rocket is vital for NASA to fulfill its original purpose.

"Our future in space is not in low-Earth orbit. We have to go beyond," Olson said during the vote's debate. "A heavy-lift vehicle will enable us to achieve the true mission of the agency ... to explore."

New NASA bill

Gordon said Wednesday that while he had a number of concerns about the Senate's NASA bill, he believed that "a flawed bill is better than no bill at all."

The bill should help NASA and its workforce get on with the transition from its previous Constellation program to the new deep space exploration plan set forth by President Obama, House officials said

"While the bill before us today is far from perfect, it offers clear direction for a NASA that's floundering," said Ralph Hall (R-Texas), the ranking member of the House Science and Technology Committee, during the bill's discussion.

However, some House members took issue with what they called the bill's "unfunded mandate" to continue the space shuttle program through Sept. 30, 2011. The extension would cost some $500 million and lawmakers questioned where NASA will find the extra funds.

Congresswoman Gabrielle Giffords (D-Arizona), who is married to space shuttle commander Mark Kelly, said the bill "lacks serious budgetary discipline."

Some lawmakers expect the NASA authorization bill will preserve some jobs and create others associated with new programs.

"Without a bill, the jobs of a world class NASA workforce and thousands of highly-skilled private contractors who support human space flight would have been lost," Hall said in a statement released after the vote.

Copyright © 2010 Space.com. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.

FoxNews.com's SciTech section is on Twitter! Follow us @fxnscitech.