Extract the kern-dumping into a separate script