Add helper script to check patches.