Added build scripts for MAD