Added ignore option for ignoring patterns