added trigger module support, and support for more arguments to existing modules