working with the script