Completing PostProcessDot script