more updates to script