Simplification of the script. Better help!