core-4569 core-core-4562 core-4514 allow tool request to accept existing
file
core-4569 refactor code...
core-4597 fix disabled apps problem.