[fixes #3] flags are now appended together