Changed time unit factor to 1000 and changed pylons instrumentation to the correct imports.