allow to specify a directory to add to the pythonpath
log location is now a parameter