Enabled the generate_permalink again