Reworked code so main.lua just hooks into distinct game mode files