fixing script to start work on tomcat support