Adding generate-permaling (limited to SanFoundary)