Add/finish flags