Improved path mapping and exported SQL connection