replace script and style files