added dynamic menus for the programme control variables