bash script now downloads from temp-url