added setup document and env. variable