the expiration of the period set forth in the previous proviso. Hazardous materials safety For expenses necessary to discharge the hazardous materials safety functions of the Pipeline and Hazardous Materials Safety Administration, $58,000,000, of which $7,570,000 shall remain available until September 30, 2021: Provided , That up to $800,000 in fees collected under 49 U.S.C. 5108(g) shall be deposited in the general fund of the Treasury as offsetting receipts: Provided further , That there may be credited to this appropriation, to remain available until expended, funds received from States, counties, municipalities, other public authorities, and private sources for expenses incurred for training, for reports publication and dissemination, and for travel expenses incurred in the performance of hazardous materials exemptions and approvals functions. Pipeline safety (pipeline safety fund) (oil spill liability trust fund) For expenses necessary to conduct the functions of the pipeline safety program, for grants-in-aid to carry out a pipeline safety program, as authorized by 49 U.S.C. 60107 , and to discharge the pipeline program responsibilities of the Oil Pollution Act of 1990, $165,000,000, to remain available until September 30, 2021, of which $23,000,000 shall be derived from the Oil Spill Liability Trust Fund