new changes to the script operation