Committing Script for extracting exceptions