Fixed scala directory problem.