Added old resources removal
Added elapsed to EventReplacing instead of traces
Fixed init script searching
Making it working