updated plugin to work with ffos