added manual inherit of environment

fixes #411