Beginning of the script