Update cloak
fix output directory