add -c option to specify commands to execute
use -c to specify commands