Fixed TextAfter* TextBefore* to allow null default value.
New publish scripts.