updated files with proper redirection