Updated for sbt 0.13.1 and some other stuff.