CHICAGO (AP) The Chicago White Sox are starting to get contributions from everyone on the roster and that's producing wins.

Though they're still not where they want to be, they're closer after rallying to beat the Tampa Bay Rays 5-4 on Friday night for their first three-game winning streak of the season.

They got the win Friday because starter Jake Peavy was helped by a rally fueled by part-time players. And the complexion of the season has changed because of the team's attitude.

Peavy credited the team staff and to the players for ``not panicking.''

``I think in times past you would see some panic with different people around the organization, with different players,'' Peavy said. ``I think for this ballclub, for the staff to continually have our backs and to come back and play a little bit better than we have played.''

The White Sox indeed came back Friday.

Peavy pitched well into the seventh and the White Sox hit three home runs, including ones from part-time players Hector Gimenez and Tyler Greene to win the first two of a four-game series.

Peavy (3-1) gave up home runs to Matt Joyce and Evan Longoria and fell behind 3-0 in the fourth, but the White Sox overpowered Rays starter Roberto Hernandez (1-4). Peavy allowed three runs and six hits, with seven strikeouts, in 6 2-3 innings.

``Great team win,'' he said. ``I think these wins. we fell behind early and we were able to battle back off a guy who was going good, (Hernandez).''

Trailing 3-1 in the fifth, the White Sox hit two home runs to take a 4-3 lead.

Gimenez, a backup catching for the first time since leaving Monday's game after getting hit on the lower left leg with a pitch, hit his first career homer to cut the Rays lead to 3-2. Greene, who replaced the injured Jeff Keppinger, had a two-run home run, his first of the season, to give Chicago a 4-3 lead later in the inning.

Conor Gillaspie's solo home run in the sixth then gave the White Sox a 5-3 advantage and their second straight game scoring at least five runs.

``You take it,'' White Sox manager Robin Ventura said. ``It's just one of that's a good feeling when the lineup does that and you get it from guys getting a shot.''

For the White Sox to win consistently they have to get contributions from everybody on the roster. Peavy knows that.

``I think the biggest thing is we have to use our whole roster. yeah it's like the National League does,'' Peavy said. ``We're not like a Detroit who's going to line up and here we go man-for-man. We've got to have contributions from everybody and we understand that.''

Trailing 3-0 in the fourth, Adam Dunn singled to right to drive in Alex Rios. Dunn, who entered the game with only eight hits, including four home runs, was 2 for 4 with a double. Friday is Dunn's first game with more than one hit since April 3, the White Sox's second of the season.

Before that, the Rays had jumped on Peavy.

Tampa Bay took a 1-0 lead when Joyce homered in the third, hooking a 2-2 Peavy pitch inside the right-field foul pole. Friday was Joyce's third career start at leadoff, and he's homered in all three.

Longoria doubled Tampa Bay's lead in the fourth when he took a 1-2 pitch to right for his sixth home run of the season. Kelly Johnson then singled in James Loney for a 3-0 Rays lead.

The RBI gave Longoria 468 with the Rays, tying him with Carlos Pena for second in team history behind Carl Crawford (592).

None of that added up to a win for Tampa Bay, though it did mount a rally in the ninth.

Working for the third straight day, Addison Reed got his eighth save in eight chances but allowed Joyce's RBI single before striking out Ben Zobrist with runners on first and second to end the game.

``Peavy of course was good,'' Rays manager Joe Maddon said. ``We had a chance there at the very end, but you just can't rely on that all the time.''

Hernandez gave up all five runs and eight hits while striking out five in six innings. He had given up two home runs in 24 2-3 innings this season.

Before Friday he had never given up three home runs in an outing.

``I tried to keep the ball down to get a ground ball but today I couldn't get the ground ball,'' Hernandez said.

Not surprisingly, that hurt Hernandez. Perhaps more unexpected was who made him pay.

``That's huge. We were kind of down there early,'' Greene said. ``We were able to battle and slowly, slowly inching back and we were able to take a lead there and just hold onto it.''

NOTES: Keppinger was out of the lineup Friday with a lower back issue and is listed as day-to-day. In his last two games Keppinger is 3 for 9. Dewayne Wise was a late scratch with a stiff neck and is day-to-day. . Tampa Bay shortstop Yunel Escobar didn't play Friday night and missed his second straight game with a tight right hamstring. ... Saturday's pitching matchup is the Rays' Matt Moore (4-0, 1.04) vs. the White Sox's Gavin Floyd (0-3, 4.98). ... Rays outfielder Luke Scott was removed from a game at a rehab assignment at Single-A Port Charlotte after getting hit in the right elbow with a pitch. Scott is on the disabled list with a right calf strain.