put an import under the proper flags