Fix Pre and Post Install Scripts for PKG