adding main menu script with gameobject