watch out for errors in bad packages. change /local-dev/setToken to /connect