scripts for generating settings