rm permalinks script