More portable shabang
make scdl.sh executable
introduce download() function