Fixed errors and changed back to if statement.
Strings don't work with Switches.