Moving #run method to top-level namespace