Roll 'build' logic into 'control' script in Ruby cartridge.