Tweak generated script so it's more like the old manual one