could also filter the list of scripts before we get to this point