Started the work on error distribution script