change order of pkg installation