Adding document sharing to random pikcs