refactor tailrunner
refactor tailrunner