made the end scene connect to the main menu