add a Scala version setting, minor edits