Adjusted a few reg.expressions to make the script work
Fixed a typo for ((counter_files++))
Merge https://github.com/manuella/submissionScriptCSC261