updated buildscript