using config file to run command