add main directive to return main menu