making profiles easier to reuse on tomcat