change url to wikitech
use a copy of the environ rather than a reference