Updated foreach task to work properly and ready to test start/stop of tomcat.