creation of script