Adjusting references to scripts and css