modified package script