Quick fixes to Elixir script