updated checks
Merge https://github.com/uwegeercken/jareplugin