According to any given circumstances.
wind at one's back
Forward momentum; a boost in one's prospects for success due to favora…
finger to the wind
An attention to or focus on or awareness of current or prevailing tren…
as best one can
In the best possible way, given one's circumstances and abilities.