Change the flags