missing include, plus change to new red api path for basic export