Write the scriptlets for the pig build.