Script modified