Committing Midm Duration Calculation script.