Part of the launcher script and configuration were patched via sed commands; make the process clearer by using unified-style patches.