split setup into install script