migrating repo discover to org
fixing schema version check to properly take into account engines