Add script to generate partition scripts.