Preliminary filter.sh