inject exports from main