I have made a couple of additional changes apart from what Dan suggested. I also made the indentation consistent and adjusted the permissions of the script file. As an aside, git-send-email is finally working for me! Allan