support for connection pooling ooptions in config file
factored out script reading and execution into util class, and added optional (ignore failure) statements