add default config when both config.json and args not provided