Added node path dependency

Added node path dependency to support relative paths.