Added options to override the command and the config file path