improve code, for vclient log to file is initiated, make env-setup