Added flags option to pass directly to underlying migration framework