Added image policy flag to sample