Added environment reference for public key