Added importScripts and removed "copy-paste" scripts