Replaced preinstall with postinstall