replaced version=branch by version=hash