v. 2.2.8: added -s option