rewrite code to support two env in one script
f
"test