Added Permissions & improved Debug-Messages