Export scoping and test connection