Fix script in python 3 and strip leading / from page names