#!/bin/sh
if [ ! -f $1.dat ]; then 
	echo "No such file - $1.dat - exiting!!"
	exit
fi
cp $1.dat FOR005
echo "Mopac job $1 started"
mopac7.exe
mv FOR006 $1.out
mv FOR012 $1.arc
rm FOR0* SHUTDOWN
if [ -f DICTNRY ]; then
   rm DICTNRY
fi
echo "Mopac job $1 has finished"
exit









