[framework] update environment script