Make download script work