update metapixel prepare to support calling without outfile or table