Fix staging script
Use permaviews not permalinks