Modified require statements to require npm packages