Organized code, added currentversion variable.

I added the currentversion variable to change all of the version numbers within the script, from one place.