Scripts and stuff for MarkLogic operations