update to match cubieboard
update download dir
mv scripts to HOME dir
update bat.sh to make it more robust