modify erl_command.erl for mac ox