added permalinks to data file, updated gallery link variables