Fixed the "flag" flags to actually work