Updated script to setup tomcat