Make the package installation function optional