added loadable/unloadable triggers, regexp matching for text responses and logging functionality