updated the env start of functional_tests