Set Dynamic Environment