the examples had the issue of leaf cleanup removing the submit
directory
modified the examples