update cleanup and sudo postinstall script