updated localenv sample