   defp stop_services do
     IO.puts("Success!")
     :init.stop()
+  end
+
+  defp start_vt_pool do
+    Asciinema.Vt.Pool.start_link()
   end
 
   defp run_migrations do


  def upgrade_data do
    start_services()
    IO.puts("Upgrading data...")
    Asciinema.Asciicasts.upgrade()
    stop_services()


  def seed do
    start_services()
    start_vt_pool()
    run_seeds()
    stop_services()
  end

  def migrate_and_seed do
    start_services()
    start_vt_pool()
    run_migrations()
    run_seeds()
    stop_services()
