change handling of the Build/Clean template