Added additional error handling (not the filters, though) and the start of a sample script.