Add: trigger security.xml generation and wait for it to complete.
add comments