Create helper apply_patches script and add paramter to change patch output folder.