Cleaned up code. Page Not Found redirect in