removed comments from preamble, set log path