Added check for erl.