Introduce $SCRIPTS variable and use it were appropriate