Refactored the scripts.
Added a release version.