switching stupid connection dict to connection string