NEW YORK (AP) — U.S. regulators have announced a settlement with the company that runs Dollar Tree and Family Dollar aimed at improving worker safety at thousands of the bargain stores across the country.

Labor Department officials cited issues at the stores including blocked exits, unsafe storage of materials and improper access to fire extinguishers and electrical panels.

The department says that the chains operated by Dollar Tree Inc. are required make changes to correct within two years violations cited by the Occupational Safety and Health Administration.

Dollar Tree and Family Dollar have also agreed to pay $1.35 million in penalties to settle existing contested and open inspections of similar alleged violations — and face hefty violations for any future offenses.