modified ypk-scanpackages