add support for running commands.