more script setup work