Changed things
Added export and import functions