Moved load function into menuOnLoad()