by stating the file location i have a new error "Argument "" isn't numeric in addition (+)".
with relation to the $number_replace variable?
i am running the script from a command line the directory and files are now chmod 777 (wromg i know) and the script is chmod a+x