removes sed invocations in favor of patch
adds missing patch