Add env scripts to spec mem