Update shell scripts for Jenkins automated build