restoring active export; removing complicated testing mode from export method