several fixes (to downloading script, essentially)