Added TMC_DATABASEFILE and TMC_CONFIGFILE envvars