extending scripts to allow external npm modules