Make captains environment aware and environment specific