Update shell_lib.sh