Made it so that you don't need the switch to set manually