Created initDriverHandle function