Added clean script and changed fig to build local directory