implemented package dependency auto-installation