Updated payload to use environment variables