Some additions to the new shell script.