Some pylint cleanups
Move postflight.d run to beginning of postflight