Fix script imports, Fix printing encoding utf-8