Add SCRIPTS variable to fragments