removed pdb instances. updated creation and usage of DOCS_DIR in line with github comment