Variable transmission

The folder variable was not transmitted to each call iteration of
downloader()