Update to export functionality

Signed-off-by: Elliot Condon <e@elliotcondon.com>