Testing export functions
forgot a :
Fixed SQL calls
forgot one call
Fixed some variable names to reflect the new db
testing new conditional
maybe "is" is the wrong operand here
New stripping string and other fixes
Export function fully working
Merge pull request #10 from sedley/export

Export Function rolled into production