Apply connection string toggle for use with scripts