Use common code for Elixir and Erlang escripts