Added log file and line option