updated build and clean script