Download script correction