updated script a little bit, main regex includes an or instead of piping it into another grep, error dump includes exit code of smbclient