linking env variable to cal.env
fixing env param name