Made some changes to buildscript.