Build script for maguro