Fixed capitalization error. Added command-line mode.