added -s flag