added option for tracing to prevent hdd overflow