external links fix. split environment.