#!/usr/local/bin/zsh
#
# Runs npb in write mode with the specified parameters
#

export PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/<path_to_cr>/cr-1.2/bin/Linux:/scrtch/<username>/
export LD_LIBRARY_PATH=/<path_to_cr>/cr-1.2/lib/Linux
export DISPLAY=:0

/usr/local/bin/vidwal
cd /<path_to_cr>/cr-1.2/mothership/configs

if [[ $# -eq 5 ]]
then
python2.2 test_npb.conf "/data/cjones/npb -W /scrtch/cjones/$1/$2 $3 $4 $5"
fi

exit
