replace document args with user-provided values