Support command line run