updates to script