Use script for patches