fixed order of install script