debugging process scripts