moved location where we append root to worker, because we want to log the local path, not the full path