modify restartTomcatShell