adding main menu and some working scripts