Removed all require once's again as I missed criteria in my regex replace