added permalink, fixed stuff