Starting erlang with different method