Shane Robinson singled in the go-ahead run Sunday and Allen Craig cracked a two-run homer in the St. Louis Cardinals\' 5-4 win over Pittsburgh. Craig\'s blast in the third put St. Louis ahead 3-0 but the Pirates came back with four in the next half-inning, highlighted by Michael McKenry\'s three-run clout. Then in the fifth, Pirates starter Erik Bedard (4-9) hit Matt Carpenter to start the frame and Matt Holliday chased him home with a double to tie it up. One later, Bedard issued an intentional pass to Yadier Molina and Robinson made him pay by lining a 1-0 pitch past a diving Neil Walker, putting St. Louis ahead to stay. Jake Westbrook (7-6) earned the victory despite yielding four runs on nine hits over six full frames. Marc Rzepczynski and Mitchell Boggs combined for 1 2/3 scoreless relief frames, and Jason Motte got the final four outs for his 17th save as the Cards avoided a three-game sweep at the hands of the Pirates. Bedard lasted only 4 2/3 innings, allowing five runs on eight hits.