udpated rename script to exclude certain dirs