Fixed up exec, and added system command for running shell commands