How can I change the redirection based on star rating field?