plugapi was updated, minor code changes.