Corrected permissions issues