improve tool with increment method
Merge pull request #1269 from cicili/change-ws-docroot

improve tool with increment method