Fixing positional parameters in ta_wrapper.sh