Remove launch flags that are not needed.