adding the result and inverse filter script