Fixed a bug with input

Bug involving case of input; would only read a certain variation of an action (Action not action/ACTION/aCtiON).