deploy separate script and allow run parameters for tomcat