Add safe and priority flags