add say function to plugins for more functionality
remove extra debugging
reimplement the 'open' function in plugin