added get all documents script