Added log file creation and default target