The first version of the script