updated tomcat version and fixed unnecessary commands