add shutdownat and personal mdiff