Improve the script by making the version number a variable