Made a lot of the buttons work