switch from pseudo-ENV vags to ruby globals