get environments linkto working