remove unused code from sbtTemplate