added downloads support