order does not matter in flags and `$@` will pass the rest of the command line arguments... If its not behaving that way then there is some underlying issue we should fix.