shrank size of crawl function, did not need conditional statement. fixed error in dbtask that prevented storing permissions