moving install script to ksh style as well