added support for checking package installation