changed env variable to use TC_DB and TC_DW prefix to support multiple databases

changed env variable to use TC_DB and TC_DW prefix to support multiple databases