patch for rust, mods to the stage scripts