let it able to run with command line