rc.shutdown :
Save session code block case PUPMODE 6
put before PUPMODE 12 for better code structure.
Much more rearrangements to follow.