Added resource download support