Bash wrapper correctly passing arguments