Script to generate vertical menus.