also use the SCRIPTS array in these places