Refactor launchfiles with parameterized setup