Automatic package installation and configuration