Refactor launch-process