adds postflight script