worked on postinstall and preuninstall scripts