Renamed settings to setup and removed unneccesary debugging code