Adding scala mode