[fix] was hoisting and making global causing errors for multiple downloads
colourful logging (with tracer)