PSX gains 397 points to close at 47,453 points