documentation was improved. added dirs to scan check