added temporal entitlement grant script