search & replace corrected to not change everything to lowercase and clean the code