Cleaned up ks file.