Can you uninstall, run this script , and install again? Let me know if you are still unable to add devices after that.