Changed worker to log into several files
Fixing scaling bugs