modified loadNpmTasks