PSX gains 262 points to close at 41,577 points