refactored into a package and a command. Added cwd to PATH for workers before they go chdiring