add resource download script