added options to exclude certain base documents