updating to work with a non-archaic version of Cake