Fixed inline scripting error. Reordered all menus into something that actually makes sense