Updated usage of ecml to be comptible with the official plugin