added diagnostics messages
added -n option which is used if snapshot leaf bundle is required