fix to use passed config file from arguments