Updated Script