updated build script and clean script