Pass user collection to write data script.