use erlang as scripting language