Still more custom install script

so many uninitialized variables...hallp...