add callback functionality via plugin options