MAL-66 | MAL-67 | Rewrite reinstall and rebuild scripts