Add support for mutil-enviroment.
Merge pull request #28 from ivanzhaowy/master

Add support for mutil-enviroment.