improved package dependency suppport