Removed legacy.lua