renames and finalizes plugin