updating install script to postinstall