Removed debugging messages, added error msg for missing redirects