handle "help" and "logpath" commands, set logpath if module started with
arguments