copy files from yaft/yaskk and rewrite