add runner
main and export are now function based