Fixed #1, added new version check