updated nodes worker to use the dist folder