added check for 'documents' dir existence prior to copy