fix filename checking for install.sh