Modesto's Jessy Boonstra, from Ripon Immanuel Christian Reformed Church, carries a box of home baked cookies she brought along with Ripon Fire Chief and San Joaquin County Operational Area Coordinator Dennis Bitters, on a surprise visit to a strike team of San Joaquin County firefighters working along Forest Service road 31 behind Long Barn off of Hwy 108 Wednesday afternoon (08-28-13). Big Bear firefighter Jon Curtis keeps an eye on the flames of an encroaching 'slop over' fire that jumped Hwy 120 east of Hardin Flat Rd. in the Stanislaus National Forest earlier in the week Saturday night (08-24-13) when the Rim Fire was still only 5% contained. Containment of the fire was 30% as of Wednesday night. A look at the area of the Rim Fire in Yosemite National Park in California.; 3c x 5 inches; 146 mm x 127 mm; (AP) - Smoke from a wildfire around Yosemite National Park is causing problems in the San Joaquin Valley, even as firefighters make advances against the massive blaze. Winds had been blowing dense smoke plumes northeast into the Lake Tahoe area and Nevada but a shift brought them west down to the San Joaquin Valley floor. Regional air pollution control authorities issued a health caution for San Joaquin, Stanislaus, Merced, Madera, Fresno and Tulare counties. Residents who see or smell smoke were urged to stay inside, especially people with heart of lung problems, older adults and children. But in signs of progress, By Friday crews had built containment lines around more than a third of the huge forest fire and officials had lifted evacuation advisories in some small communities in the mountainous area, Also, a few dozen firefighters were released and more could be sent home in coming days, said Daniel Berlant, spokesman for the California Department of Forestry and Fire Protection. More than 4,800 firefighters remained on the scene late Friday. "We continue to gain the upper hand, but there's still a lot of work to be done," Berlant said. The 2-week-old blaze burning in the Sierra Nevada northeast of Fresno has scorched 333 square miles of brush, oaks and pine, making it the largest U.S. wildfire to date this year and the fifth-largest wildfire in modern California records. Containment was estimated at 35 percent. Evacuation advisories were lifted Thursday in Tuolumne City, Soulsbyville and Willow Springs but remained in place for other communities, and evacuations were still mandatory along the fire's southeastern edge. About 75 square miles of the fire are inside Yosemite but at some distance from the national park's major attractions, including glacially carved Yosemite Valley's granite monoliths and towering waterfalls. Park officials expect about 3,000 cars a day to pass through gates during the long Labor Day holiday weekend instead of the nearly 5,000 that might typically show. The fire has caused some people to cancel reservations in the park but those vacancies have been quickly filled, officials said. "Valley campgrounds are still full and skies in Yosemite Valley are crystal clear," said park spokeswoman Kari Cobb. A 4-mile stretch of State Route 120, one of three western entrances into Yosemite, remained closed, hurting tourism-dependent businesses in communities along the route. Costs reached $47 million, including firefighters from 41 states and the District of Columbia and significant aviation resources including helicopters, a DC-10 jumbo jet and military aircraft equipped with the Modular Airborne FireFighting System. Aircraft have dropped 1.7 million gallons of retardant and 1.4 million gallons of water. The fire started Aug. 17 and its cause remains under investigation. It is expected to keep burning long after it is fully contained, and recovery will be extensive. Some 7,000 damaged trees next to power lines will need to be removed by utility crews and 800 guardrail posts will need to be replaced on Route 120, a fire fact sheet said.