Added a flag to turn off spell checker