Adds 'run' method for easier external tooling.