Modified buildscript to clean directory