added configuration for scala