Work on MM and added serial to rebuild.sh