update shell script for rc1