modify install script and split recipes