updated custom script for SI due_date