Removed some debugging statements in export