Update buildscript for old builds