Add function to run a command in a given directory