amending the syntax for loadflags and saveflags.