Updates to shell scripts