removed curl.exe as dependency

* removed the call to curl.exe for state changing
* fixed string formating for node_name