rebuilding scripts and stylesheets