add box.rake and minor changes