Add capacity to generate a partial script