Shell Script that controls Tomcat from remote CI server