rebuild scala