swapped menus and items, activePages can now take in many arguments