newest version of run script (Ztt filter, selection filter)