Hum. Unfortunatly it's not really a script but more manual work and Jenkins :( Not sure what I can share which might help to build that back :(