Better success checking, and logging. Allows multiple submission of tx