Implementing Buildmode