Made optional to have a patches directory