generate generating job patch scripts