updated get tag to set all tags as env varaibles