Removed debug output.
Merge remote-tracking branch 'origin/master'
Corrected permissions check.