fixed readme example and added config flag to erl command