case $1 in
	osx)
	  export PYTHONPATH="/Users/jimmac/.blender/scripts"
          blender="/Applications/blender.app/Contents/MacOS/blender";;
	*)
          export PYTHONPATH=$PYTHONPATH:/usr/lib64/python3.3/site-packages
	  blender="blender";;
esac

for script in gnome*py
  do blend=`basename $script py`blend
  $blender -b $blend -y -P $script # > /dev/null
done
