changes attributes
removes extra attributes
removes attributes
adds cosmos environment