added support for node / amd