Fix build script to use AT