added 'debug' option to usage