added ability to execute arbitrary commands in cli