Fixed node and npm functions + added create-nodecommand function to create ps files in the global npm for direct command acces