add apply-patches.py