modified check for signatures, use "--" or "- --" to detect begin of signature