sleep only when download iteration
better handling of failure
remove debugging print
use HTML extension for script description