Small hack scripts written in Scala