Bash Script Execute Command Generator