have you got it to work from a command prompt? if not, do that first and then incorporate that into the shell command in your script. If you have got it to work successfully from the command line, post the working command.
_________________________
Eric