add new environment variable setup to links controller