updated source lines to use C9_PID environment variable