write better install script