Auto-install required packages