Fixed package installation and dependencies