changed exports to work in linux