Removed duplicate dependencies, added sudo