old_contents: import os
  curr_dir = os.path.dirname(__file__)+'/alembic.ini'
  os.system('alembic -c {} upgrade heads'.format(curr_dir))
new_contents: import os
  curr_dir = os.path.dirname(__file__)
  if curr_dir == '':
      curr_dir = os.path.abspath('.')
  alembic_ini = '{}/alembic.ini'.format(curr_dir)
  os.system('alembic -c {} upgrade heads'.format(alembic_ini))
  
subject: adjust migration script path not found