clean up building script