First revision of the script