Reverted master branch to stable version of script
There is no version history as I only started tracking in git late in development
Unstable script has been moved to the devel branch