finally got the -env add working