support the -onlyAutomate flag