how to use uupick command instead of mv command

Hi ,
my script is like:
if test -s $BATCHFILES
then
cat $BATCHFILES |
while
read file
do
echo `date '+%Y.%m.%d %H:%M:%S'` $file
case $LOCATION in
CB)
if [ `ls $file | grep Q | wc -l` -eq 1 ]
then
mv $file $QUERY/$LOCATION
else
mv $file $BATCH/$LOCATION
fi
;;
NR)
if [ `ls $file | grep Q | wc -l` -eq 1 ]
then
mv $file $QUERY/$LOCATION
else
mv $file $BATCH/$LOCATION
fi
;;
done
fi

Batch file contains the entry like
/usr/spool/uucppublic/receive/wes/cboas7/CB/abc.txt
/usr/spool/uucppublic/receive/wes/nrserv3/NR/abc.txt

LOCATION="CB NR"
QUERY=/usr5/datafiles/query/
BATCH=/usr5/datafiles/batch/

Here I need to use uupick command insted of mv command to move the files. Please some help me, how to write it. I may be wrong, what I believe we cannot pass any argument for the command uupick. Please help me.

Thanks