Modify the deadline_counter script