adding a launchfile based on parameters
some minor changes