Set up Gui to take Alec's code