dynamic script settings from widget