cleanup example
handle build tool errors better