problems with prefllight and postflight scripts