Updated Script file