Fixes some things in install script