Add ability to call run from module level