add scala environment