Regenerate modscript.h, fix formatting for max stack size