Message seq reset script

Not sure I understand what's going on here.