refactors #all method and change name to #run
fixes chain build