updates to script.