Adding patches from groovy