Migrated to not use curses