add environment for scala