Removing environment references from recipes