Add command line interface to set K1