split local running code