Added auto close brackets feature