Fix scrippt for jenkins