updated hammer to work in legacy projects