add a merge routine in create_packagelist.py