added package installation check functions