Readded versioncheck. Fixed error if versioncheck disabled in config.
TESTED