Made the edit step separate from opening terminal