add scala environmental