More informative assertion
Add mips fixer script
Add mips script to setup
More idiomatic code