Fixed permission issues

Fixed permissions issue