Added script and css handling