allow dynamic setting of plugins_path
can use put-callbacks for triggers on darwin/linux
cleanups