Added permissions setting