あわよくば

Etymology
From +.

Adverb

 * 1) if all goes well, if circumstances allow