Added ability to exclude modules from output