Fixes postinstall script