time select, filter by script, then order, then limit.