Add support for shortcutting

The first couple of commits are cleanup, followed by a bit of minor refactoring to help facilitate the feature.

The last commit is a bit larger, but adds the actual support for running multiple shell commands per operation.