Made a menu bar app you may find useful for MacBook sleep prevention, even when the lid is closed:
https://github.com/narcotic-sh/modafinil