-f/-d can not be ovverided by configuration file, related to #243.