Revert "remove mechanize"

This reverts commit 0da623e793d3f884a3cc5172748d91c8d1d88695.