optimize python code + load fonts form dedicated folder