build file for M2