Added generalized build tree initialization script