utf8::decode of $description and $name provided further sources of script failure due to problem characters so I commented these out as a temporary fix.