add node version detection