Redid how the can supporting of node and amd is worked out.