fix is_sample and add exit to create_destination