old_contents: from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
  from flask_script import Manager
  from flask_migrate import Migrate, MigrateCommand
  
  from golf_stats import app, db
  from golf_stats.utils import export_all, import_all
  
  
  migrate = Migrate(app, db)
  
  manager = Manager(app)
  manager.add_command('db', MigrateCommand)
  
  
  @manager.command
  def create_db():
      db.create_all()
  
  
  @manager.command
  def import_db():
      import_all()
  
  
  @manager.command
  def export_db():
      export_all()
  
  
  if __name__ == '__main__':
      manager.run()
  
new_contents: from flask_script import Manager
  from flask_migrate import Migrate, MigrateCommand
  
  from golf_stats import app, db
  from golf_stats.utils import export_all, import_all
  
  
  migrate = Migrate(app, db)
  
  manager = Manager(app)
  manager.add_command('db', MigrateCommand)
  
  
  @manager.command
  def create_db():
      db.create_all()
  
  
  @manager.command
  def import_db():
      import_all()
  
  
  @manager.command
  def export_db():
      export_all()
  
  
  if __name__ == '__main__':
      manager.run()
  
subject: remove unnecessary imports