add ENV_HOME
update replacement