adding command lines to change config file. fixing test cases...