Let's see if I can get this to run in bash rather than sh