Refactor process on runs launch loop