upload code for script