added the runCommit command
made a better version of the runCommit command