modified push.default to work with 1.7.x and 1.8.x