Removed -K option and added optional argument to -k