coffeescript, pigscript, tweaks