Trump officially signs agreement with Iran