Updated some shell scripts