Really? This seems a bit harsh, especially at the *beginnning* of this script. I'd rather you set WWW_DIR="" and test for this at the end, when you actually need this variable. This gives the script a chance to do what it needs to elsewhere.