Re-writing the script