renaming services field to flags -- fixes #12