add token to media links