making npm available to scripts