-t option
better exception logging
more robust COSM submit error handling