Moved version check to main plugin file