fixes on data contract and offer script