Modify install.sh to handle files in sub-directories