adjust rake tasks for trigger_scrap and clear_scrapdb