Bring environment into loop