added support for creation of downloads