add sql to configuration block