added support for installing package dependencies