Added oneshot mode

Fixed default path.
Added start/end markers in log