added log dir arg to  popquiz