update script to use in jenkins.