export run function