provide a function to run shell commands