Fixes copy and npm commands