move inline scripts to script file #11