link data to the enviroment vairibles