Build script migration connection fixes#2