upgraded: add support for passing a "command" argument to stage2