Updated unpack.py to support target dates.