SANTA CLARA, Calif. -- Blaine Gabbert had the stage to himself in San Franciscos quarterback competition with Colin Kaepernick nursing a sore shoulder and provided a strong finish to an uneven performance in the exhibition opener.Gabbert overcame a shaky start to throw a 43-yard touchdown pass to Vance McDonald before the Houston Texans rallied in the second half against San Franciscos reserves to beat the 49ers 24-13 on Sunday.There were ups and downs, Gabbert said. But we saw when we got into the groove what we can do as a unit.Brock Osweiler didnt fare as well in his Texans debut, failing to lead Houston to any points in three drives. Houston got on the board early when John Simon returned a fumble by Carlos Hyde 41 yards for a touchdown but struggled to generate any offense with its starters.Was it completely what I wanted tonight? Absolutely not. But rarely is it ever, Osweiler said. I think the biggest thing about tonight is we did some really good things offensively and we know we have some things that we need to work on and grow and get better at.With Kaepernick sitting out with tightness in his throwing shoulder, Gabbert got to make his case in the battle to win San Franciscos starting quarterback job for first-year coach Chip Kelly.Gabbert, who started the final eight games last season, did little to improve his position in the first two drives. He was off-target on his first two passes as San Francisco went three-and-out in 41 seconds on the opening drive and started the game 1 for 6 overall.But he was much more effective on the third drive when he scrambled 13 yards for a first down and then hit McDonald for the long score when Benardrick McKinney slipped in coverage.The good thing is that he did settle down, Kelly said. There were some real positives that we can build on but there were some throws that even if you ask Blaine, hed say he wished he had those back.Gabbert finished 4 for 10 for 63 yards and a touchdown.Osweiler, who signed a $72 million, four-year contract with Houston in the offseason, went 4 for 7 for 27 yards. He took one sack and left for good after throwing an incomplete pass to Braxton Miller on fourth down early in the second quarter.To put on the Texan uniform, and run out of the tunnel as a team for the first time, it was certainly special, Osweiler said.Tom Savage threw two TD passes in the second half for Houston, connecting on a 9-yarder to former California receiver Stephen Anderson and a 9-yarder to Akeem Hunt in the fourth quarter.ROOKIE WATCHTexans: Miller, a third-round pick, had four catches for 34 yards, including an acrobatic 24-yard gain in the third quarter from Savage. First-round pick Will Fuller had just one catch for 4 yards.49ers: First-round DL DeForest Buckner was pushed around a bit in the running game and finished with one solo tackle and two assists.INJURY UPDATETexans: CB A.J. Bouye sat out after injuring his groin Friday in practice and will have an MRI on Monday.49ers: Backup QB Thad Lewis was 12 for 21 for 97 yards before leaving the game with a lower-leg injury. ... DL Arik Armstead sat out the game after being limited last week in practice by a shoulder injury.POSITION BATTLESTexans: DL Christian Covington made a good showing as he got a look with the starters with J.J. Watt sidelined with a back injury. Covington forced the fumble by Hyde that led to Houstons first score.49ers: RT Anthony Davis, who sat out last year in temporary retirement, played with the second string behind Trent Brown in his first game in more than 19 months and was beaten by Eric Lee for a sack late in the first half.QUOTABLETexans: Knowing my family and friends are in the stands really supporting me, that was a dream come true, said Anderson, who grew up in nearby San Jose.49ers: Colin isnt 100 percent, Kelly said. It wouldnt have been fair to put him in and judge him on that competition.---AP NFL website: www.pro32.ap.org and AP NFL Twitter feed: http://twitter.com/AP-NFLCustom Boston Bruins Jerseys . After slipping from the summit during the week, the Gunners overcame struggling Crystal Palace 2-0 on Sunday thanks to Alex Oxlade-Chamberlains second-half brace. Wholesale Custom Hockey Jerseys . The team says the Spain international has a muscle pull in his right leg. Barcelona hosts third-division side Cartagena in the return leg of their round-of-32 tie after winning their first meeting 4-1. http://www.customjerseyshockey.com/custom-arizona-coyotes-jerseys-109b.html . Mats Zuccarello and Derek Stepan scored shootout goals, and backup goalie Cam Talbot earned his second win in two nights as the Rangers shook off a late tying tally and beat the Maple Leafs 2-1 Monday night. Custom Edmonton Oilers Jerseys . LOUIS -- St. Custom Hockey Jerseys Outlet . Calgary scored on the first shift, and Michael Cammalleri scored twice as the Flames cruised to a 5-2 win over the Washington Capitals on Saturday.Lewis Hamilton says he felt comfortable enough throughout the Hungarian Grand Prix to manage the pace as he took the lead of the championship with a fifth win of 2016.Hamilton beat teammate Nico Rosberg into Turn 1 and led for the rest of the race, but was asked by Mercedes to pick his pace up during the middle stint as third-placed Daniel Ricciardo closed the gap. He replied to say he was driving as fast as the tyres would allow, and the Mercedes one-two did not come under threat from Red Bull after the second stops.Other than one mistake which brought Nico Rosberg to within DRS range later in the race, the championship leader said he felt comfortable throughout.?There was never a moment when I felt that I was going to lose it, he said. This is a race where you dont need a five or ten second gap. I need to do what I just need to do, even if we win by a tenth of a second. I was just managing that gap of about two seconds. When I needed some time, I put my engine where it needed to be and I kept the time.Asked why he seemed to struggle with his pace, Hamilton said: Compared to practice we knew the temperature was a lot higher. I think the temperature was about 43 degrees, the track temperature, so today was a 53, so its an unknown how long these tyres are going to last. So once I got into the lead I was able to manage my tyres, my car, and manage the gap, and react only when I needed to.For sure the backmarkers caused a bit of troublle towards the end.dddddddddddd. Generally I was able to keep the buffer. There was one moment ... I thought all race I hadnt made a mistake and then I locked up my wheels and went slightly wide and Nico all of a sudden on my tail. Wasnt an exciting moment but then got my head down and increased that lead.Hamilton thinks his getaway was crucial to the victory.The start was everything, I got a good start. I mean I had... One of the Red Bulls was on the inside of me so I was pressured quite a lot into Turn 1 but the team did a fantastic job with the strategy, preparing the car as always, the guys back at the factory continuing to push flat out. A huge thank-you to them.The victory was Hamiltons fifth in Hungary, moving him past the previous record of four he shared with Michael Schumacher. The Briton admitted it was a special statement to hear.Its truly incredible to hear those words, especially as I grew up watching Michael -- to know I had one more than he had here is just incredible. I would only be able to do it with the great people I work with at Mercedes, its the result of great work from a great group of people.Im really grateful for it -- I love it here and I hope theres more to come. It wasnt the easiest grand prix Ive had here but definitely one I enjoyed, a great tussle between the three of us. ' ' '