added script in relationship page