Use .export to get all objects into foreach environment