Add a utility run function.