#!/usr/bin/bash

if [ $# -ne 1 ]
then
	echo "argument missing."
	exit 1
fi

mv $1 $1.tmp
echo "#!/usr/bin/bash" >$1
cat $1.tmp >>$1
rm $1.tmp