fixed some NPE
meta->lcmeta, script->perl, improved HTML and conversion