using cast function for scriptInputs (filters remaining)