make permalink perform both url and permalink jobs