move more config into the script