finished template sync_zip interface.
small modified.