Added management for failed runs.