Change body properties to container properties