would an if around the ENV.appends do?