#7 resolved. added --debug option.