added support for both nightly and semver version increments
removed additional var
added write functionality to plist file