Rather then loading bash.tcz, change #!/bin/bash to #!/bin/sh
Do you really need bash? No.
Get rid of the spaces around the "=". For example, argFile = $1 should be argFile=$1
When you edit files using sudo, you should be able edit them without changing permissions. I find having to change permissions is a rarity once the permissions of a files are setup correctly in the first place.