Added sub_sampling script