Check directory to export