Added additional features: filter log, run external scripts, setting latency to second start the scripts