improvements for installing node and a couple of fixes