pass down log dir to .py