use factored script!!