Fix order of variables in postinstall