repurpose for testing image flags