Allow to use custom node

Fix for issue #48