Update makerestsv.py

add %4d formatting and fix comment.