correctly use configuration file if provided on cli 2/2