Added NODE_CONFIG_DIR support