fix two bugs.
make_image.py support --start --end option