added configuration switches to (de-)activate sql and sql parameter collection