Update install script to check files before install