exported sql build script and made it into part of install-sql works remotely