add config tc-env and modify time-machine