Updated Script and Sample_script