added menus and updated global templates