changes in step 5 set creation and output of script