Expanded script with actual release jobs. Needs xmlstarlet