removed unnecessary scripts argument