changed case of cdm_schema

added row_id to all output temp tables