My first ventures into BASH shell scripting.