updated to use npm