added example program and ability to change search term settings
fixed merge