For automation purposes I need to modify the simpleads_module.

What I need is to write the

path of the last node content saved

in the

block->pages relative to the simpleads_blocks being inserted.

I also need to change the Show Block on specific pages to the Only the listed pages option. I think the field to change is block->Visibility.