check writing permissions for statusfile
Merge branch 'develop' of https://github.com/ximdex/ximdex into develop