Export and filename cleanup.

-Added redirect support.