Added case-insensitve string compares by always converting input to lower case