james | correcting a bug i introduced into how the environment is managed in deployment features.