Cleaned up nmd.proc.template file