fixed minor bug in add_exptime.py