driver handling added
fix: introducing try--finally block in contextmanagers
now propagating driver config