added permalinks sql to install