Changed script to ignore backup files and subdirs