pub async fn load_script(
    app_settings: State<'_, Arc<RwLock<AppSettings>>>,
    path: String
) -> Result<String, String>