Added fix on permissions