Modified for pulling pill images