Get logging working with multiple scripts.