Added a run method to execute the callback execution
Added ui.run()