tweaked jenkins script