Updated database tasks to occur after all exports are complete.