Updated flags to recognise case insensitive