added KEY env variable