override config file with optionally passing path as first argument