Broken, rewriting connection string handling