Altered code to use correct node module