modified exportrc