Convert print statements to logger_debug. Need to do this for Windows XP issues.