replace with-profiles by with-profile in the build script