fixed buildscript