filter out ? in script