modify script for jenkins