[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] nestade:
Hm well... I guess I'd have to edit the update-binary too - is it possible to decompile it? (nevermind :D I'm an idiot and zipped the whole folder)

Or OP - could you add something like a selection of whichs apps to uninstall and add Magisk as root-method or remove rooting?

I removed this lines:

delete_recursive("/system/app/Chrome");

delete_recursive("/system/app/ChromeCustomizations");

delete_recursive("/system/app/YouTube");

delete_recursive("/system/priv-app/Velvet");

delete_recursive("/system/usr/srec/en-US");

delete_recursive("/system/app/MobilePrintSvc_Samsung");

delete_recursive("/system/app/CoreApps");

ui_print("Installing Busybox ...");

ui_print("+++++++++++++++++++++++++");

package_extract_dir("busy", "/tmp/busy");

run_program("/sbin/busybox", "unzip", "/tmp/busy/UPDATE-Busybox.Installer.v1.24.2-ALL-signed.zip", "META-INF/com/google/android/*", "-d", "/tmp/busy");

run_program("/sbin/busybox", "sh", "/tmp/busy/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/busy/UPDATE-Busybox.Installer.v1.24.2-ALL-signed.zip");

ui_print("Installing Root ...");

ui_print("+++++++++++++++++++++++++");

package_extract_dir("supersu", "/tmp/supersu");

run_program("/sbin/busybox", "unzip", "/tmp/supersu/SuperSU-v2.78.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");

run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/SuperSU-v2.78.zip");

So this is the script now:

ui_print(" ");
ui_print("+++++++++++++++++++++++++");
ui_print("UniMOD Script G93x");
ui_print("Android 6.x");
ui_print("Powered by evogp");
ui_print("+++++++++++++++++++++++++");
ui_print(" ");
ui_print("Mounting system, data and cache ...");
ui_print("+++++++++++++++++++++++++");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
run_program("/tmp/busybox", "mount", "/cache");
show_progress(0.200000,0);
ui_print(" ");

ui_print("Backing Up EFS ...");
ui_print("+++++++++++++++++++++++++");
package_extract_file("scripts/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0777, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
delete("/tmp/efs_backup.sh");

ui_print("Copying files ...");
ui_print("+++++++++++++++++++++++++");
package_extract_dir("system","/system");

show_progress(0.300000,0);

ui_print("Bye Bye Blotware ...");
ui_print("+++++++++++++++++++++++++");

ui_print("Google Apps ...");
ui_print("+++++++++++++++++++++++++");
delete_recursive("/system/app/Drive");
delete_recursive("/system/app/Gmail2");
delete_recursive("/system/app/Hangouts");
delete_recursive("/system/app/Maps");
delete_recursive("/system/app/Music2");
delete_recursive("/system/app/Photos");
delete_recursive("/system/app/Videos");

ui_print("Microsoft Apps ...");
ui_print("+++++++++++++++++++++++++");
delete_recursive("/system/priv-app/Excel_SamsungStub");
delete_recursive("/system/priv-app/Word_SamsungStub");
delete_recursive("/system/priv-app/PowerPoint_SamsungStub");
delete_recursive("/system/app/MSSkype_stub");
delete_recursive("/system/app/OneDrive_Samsung_v2");
delete_recursive("/system/app/OneNote");

show_progress(0.400000,0);

ui_print("Others Apps ...");
ui_print("+++++++++++++++++++++++++");
delete_recursive("/system/app/WhatsAppDownloader");
delete_recursive("/system/app/Facebook_stub");
delete_recursive("/system/app/FBAppManager");
delete_recursive("/system/app/FBInstagram_stub");
delete_recursive("/system/priv-app/FBInstaller");
delete_recursive("/system/app/FlipboardBriefing");
delete_recursive("/system/app/app-pre-install-samsungclub");
delete_recursive("/system/app/samsung_club_uy_access_release_v1_3");
delete_recursive("/system/app/smarttutor_v1.5_b152");
delete_recursive("/system/app/VivaElFutbol110");
delete_recursive("/system/app/CLUB_23");
delete_recursive("/system/app/BeamService");
delete_recursive("/system/priv-app/AxelSpringer");
delete_recursive("/system/priv-app/SamsungPayStub");
delete_recursive("/system/priv-app/GalaxyCare");

ui_print("OTA Support ...");
ui_print("+++++++++++++++++++++++++");
delete_recursive("/system/priv-app/SOAgent");
delete_recursive("/system/priv-app/FotaAgent");
delete_recursive("/system/priv-app/UrgentFWUpdateNfc");
delete_recursive("/system/priv-app/UrgentFWUpdateSensorHub");
delete_recursive("/system/priv-app/UrgentFWUpdateTSP");

ui_print("Knox ...");
ui_print("+++++++++++++++++++++++++");
delete_recursive("/system/app/KnoxSwitcher");
delete_recursive("/system/app/KnoxAppsUpdateAgent");
delete_recursive("/system/app/KnoxAttestationAgent");
delete_recursive("/system/app/KnoxFolderContainer");
delete_recursive("/system/app/KnoxSetupWizardClient");
delete_recursive("/system/app/MyKNOXSetupWizard");
delete_recursive("/system/app/RCPComponents");
delete_recursive("/system/app/BBCAgent");
delete_recursive("/system/app/UniversalMDMClient");
delete_recursive("/system/app/SamsungDLPService");
delete_recursive("/system/priv-app/KLMSAgent");
delete_recursive("/system/priv-app/SPDClient");
delete_recursive("/system/priv-app/DiagMonAgent");
delete_recursive("/system/preloadedmdm/MyKNOXManager");
delete_recursive("/system/container");
delete_recursive("/system/etc/secure_storage/com.sec.knox.store");
delete_recursive("/system/etc/secure_storage/com.sec.knox.store!dex");
delete_recursive("/system/app/SecurityLogAgent");
delete_recursive("/system/etc/secure_storage/com.samsung.android.securitylogagent!dex");
delete_recursive("/system/etc/secure_storage/com.samsung.android.securitylogagent");

show_progress(0.500000,0);

ui_print("Adding Bulid.prop tweaks ...");
ui_print("+++++++++++++++++++++++++");
package_extract_file("tweaks/tweaks.sh", "/tmp/tweaks.sh");
package_extract_file("tweaks/props", "/tmp/props");
set_perm(0, 0, 0777, "/tmp/tweaks.sh");
run_program("/tmp/tweaks.sh");
delete("/tmp/tweaks.sh");
delete("/tmp/props");

ui_print("Installing CSC Feature Mod ...");
ui_print("+++++++++++++++++++++++++");
package_extract_file("csc/mod_csc.sh", "/tmp/modlast_csc.sh");
package_extract_file("csc/mod_csc/mod_csc.txt", "/tmp/mod_csc.txt");
set_perm(0, 0, 0777, "/tmp/modlast_csc.sh");
set_perm(0, 0, 0777, "/tmp/mod_csc.txt");
run_program("/tmp/modlast_csc.sh", "/tmp/mod_csc.txt");
delete("/tmp/modlast_csc.sh");
delete("/tmp/mod_csc.txt");

show_progress(0.600000,0);

show_progress(0.700000,0);

ui_print("Cleaning Dalvik and C ...");
ui_print("+++++++++++++++++++++++++");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/data");
run_program("/tmp/busybox", "mount", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/cache");
show_progress(0.800000,0);

run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");

ui_print("+++++++++++++++++++++++++");
ui_print("Complete ...");
show_progress(1.000000,0);

Going to install my FW now, then TWRP, then Magisk - then I'll boot up and and go to recovery again and use the script.

Hope it works^^

Thanks @ OP btw - It's a very nice project :)