Remove functions.php and move code directly to redirect.php
Nicer list output in index.php