Reverted some of the code added to the original deployment logic since it's not going to use the version selection for npm.
Instead updated selectNodeVersion.js script to have backwards compatibility (temp dir is optional).