added settings form and expression evaluation method