trying without some hidden files that may be locked when the script is running