Added connect task to build script.