Replace default environment