Tightended up some .replaces into one line of code