new script that should allow easy exporting if it even worked on os x