Update run script to support templated filters