I\'ve had a problem with this little snippet:
Some function names are simply reserved or already used. Another would be "evaluate".
I recommend prepending something to all of your function and variable names to avoid this kinds of situations. Example: "sto_download"