bugfix - int(options.hdu) only if hdu isn't none (can't int(None)