Fixing bug with crash for traceontograph script