Added the possibility to download resources from the internet.