if [ -f scriptpattern ]; then
	if test "$1" = ""; then
		echo \*\*\*\* No arguments
		echo \*\*\*\* Usege\: calc \<GB_file.a\>
		exit
	fi
	echo Removing the old script...
	if [ -f __script.sl ]; then
		rm __script.sl
	fi
	sed ''/INSTANCE/s//$1/'' scriptpattern > __script.sl
	__runNewbergbg $1
else
	echo Cannot find \"scriptpattern\" file, aborting...
fi

echo Done.
