fix restricted directory bug
add python package
there is absolutely no need for an analysis to open the analysis.log twice