added the document directory and fixed the requirements for it