Added -b and -s options.