Tweaked Publish script and includes versioncheck file