Fixed master buildscript