Adding correct permissions