added cleanup for all_errors db skript