cleans up exporter to work better with relative paths.

- now exports before running specs via console.
general cleanup.