Added Config for CLI Mode
Added checker for CLI Mode