Add environment to app contract.