Adding dots at comments ends and checking protocol envvar options