Replace scripts and styles