adding deploy option for tomcat