added support for dpkg installs